package com.it.base.core.system.user.model.from;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

@Data
public class SysUserSelectPageListFormDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(name = "userName", value = "用户名称", dataType = "String")
	private String userName;

	@ApiModelProperty(name = "nickName", value = "昵称", dataType = "String")
	private String nickName;

	@ApiModelProperty(name = "phone", value = "手机号码", dataType = "String")
	private String phone;

	@ApiModelProperty(name = "email", value = "邮箱", dataType = "String")
	private String email;

	@ApiModelProperty(name = "sex", value = "用户性别（0男 1女）", dataType = "String")
	private String sex;


	@ApiModelProperty(name = "status", value = "状态(-1停用 0正常)", dataType = "Integer")
	private Integer status;

	@ApiModelProperty(name = "pageNo", value = "页码起始页", dataType = "int")
	@Min(message = "页码起始页最小为0", value = 0)
	private int pageNo;

	@ApiModelProperty(name = "pageNo", value = "页码大小", dataType = "int")
	@Min(message = "页码大小最小为0", value = 0)
	private int pageSize;

}
